TimeStyle Class

Represents a style for time values.

Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class TimeStyle : Style
Inheritance
Object    Style    TimeStyle

Constructors

TimeStyle Initializes a new instance of the TimeStyle class.
TimeStyle(String) Initializes a new instance of the TimeStyle class.

Properties

AmPm Specifies whether AM/PM is included as part of a date or time.
AmPmText Specifies text for the minutes.
Country Specifies the country code for a data style.
DisplayName Specifies the name of a style.
(Inherited from Style)
FormatSource Specifies the source of definitions of the short and long display formats.
Hours Specifies whether hours are displayed as part of a date or time.
HoursText Specifies text for the hours.
IsVolatile Specifies whether unused style in a document are retained or discarded by consumers.
Language Specifies the language code.
Minutes Specifies whether minutes are displayed as part of a date or time.
MinutesText Specifies text for the minutes.
Name Specifies names that are used for referencing style.
(Inherited from Style)
Seconds Specifies whether seconds are displayed as part of a date or time.
SecondsText Specifies text for the minutes.
StyleMappings Contains any fixed text for a data style.
Text 
TextProperties Specifies formatting properties for text.
Title Specifies the title of a data style.
TransliterationCountry Specifies the country code in conformance with [RFC5646].
TransliterationFormat Specifies which number characters to use.
TransliterationLanguage Specifies the language code in conformance with [RFC5646].
TransliterationStyle Specifies the transliteration-format of a number system.
TruncateOnOverflow Specifies if a time or duration for which the value to be displayed by the largest time component specified in the style is too large to be displayed using the value range for hours (0 to 23), or minutes or seconds (0 to 59) is truncated or if the value range of this component is extended.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current TimeStyle object to its equivalent string representation.
(Overrides ObjectToString)

See Also